An if statement is how programs will make decisions. The best way to think about if statements would be to think of them as a series of true or false questions. An if can be expanded by requiring other conditions, we call this an else if statement. Below is an example of how to use if statements in C.